package cn.service;

import java.util.List;

import cn.pojo.Buy;
import cn.pojo.Goods;

public interface GoodsService {

	int totalCount(String goodsName);

	List<Goods> getGoodsLike(String goodsName, Integer rowNum, int pagecount);

	int toAddGoods(Buy b);

	Goods getGoodsByid(String id);

	List<Buy> getBuyLike(String productName, Integer rowNum, int pagecount);

	int totalCountByBuy(String productName);

	List<Buy> getBuyByid(String[] id);

	Integer[] deleteBatch(String[] id);

	int buyRemove(String id);

	Integer[] deleteBuy(String[] id);

}
